<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>绩效考核  <{$smarty.const.WEB_NAME}></title>
	<link rel="stylesheet" type="text/css" href="./skin/default/style.css" />
	<script type="text/javascript" src="./skin/default/comm.js"></script> 
	<script type="text/javascript" src="./skin/default/calendar.js"></script>
</HEAD>

<BODY>
	<div style="font-size:13px;" class="headerTip"> 
		<ul>
		<li><a href="?q=kpiManage/kpiBulletin">绩效考核相关制度</a></li>
		<li><a href="?q=kpiManage/kpiBonus">年终奖金分配公告</a></li>
		</ul>
 	</div>
	<div align="center" style="font-size:16px">
		<{$year}>年度技术部门年终奖金分配动态参考值
	</div>
	<table width="50%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
		<tr>
			<td align="center">员工姓名</td>
			<td align="center">考核评分总分数</td>
			<td align="center">考核排名总分数</td>
			<td align="center">考核参考值</td>
			<td align="center">突出贡献总分数</td>
			<td align="center">突出贡献初始排名</td>
			<td align="center">突出贡献最终排名</td>
			<td align="center">突出贡献参考值</td>
			<td align="center">年终总参考值</td>
		</tr>
		<{section name=i loop=$list}>
		<tr>
			<td align="center"><{$list[i].name}></td>
			<td align="center"><{$list[i].sumKPI}></td>
			<td align="center"><{$list[i].score}></td>
			<td align="center"><{$list[i].kpiBonus}></td>
			<td align="center"><{$list[i].ctb_score}></td>
			<td align="center"><{$list[i].sort}></td>
			<td align="center"><{$list[i].ctb_sort}></td>
			<td align="center"><{$list[i].contributionBonus}></td>
			<td align="center"><{$list[i].totalBonus}></td>
		</tr>
		<{/section}>
	</table>
	
	<table width="50%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
		<tr>
			<td>注意：如果全年突出贡献总分数相同则根据年终考核分数区分排名。</td>
		</tr>
	</table>

	<table width="50%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
	<form method="post" id="queryId" onsubmit="return OnCheck()" action="?q=kpiManage/">
		<tr>
		  <input type="hidden" width="4" id="yearId" name="year" value="<{$year}>" />
		  <td align="center">
			<input type="submit" value="查询上年" class="sub_btn" onclick="javascript:OnPrevQuery()"/>
		</td>
		<td align="center">
			<input type="submit" value="查询下年" class="sub_btn" onclick="javascript:OnNextQuery()"/>
		  </td>
		  <td align="center">
			<input type="button" value="导出记录" class="sub_btn" onclick="javascript:OnExport()"/>
		  </td>
		</tr>
	</form>
	</table>

	<script type="text/javascript">
		<!--
		function OnCheck() {
			var year = $('yearId').value;
			if( year < 2000 || year > 10000 ) {
				window.alert("非法的年份!");
				return false;
			}

			return true;
		}

		// 查询上年
		function OnPrevQuery() {
			$('queryId').action += "kpiBonus";
			var year = $('yearId').value;
			$('yearId').value = parseInt(year, 10) - 1;
		}
		
		// 查询下年
		function OnNextQuery() {
			$('queryId').action += "kpiBonus";
			var year = $('yearId').value;
			$('yearId').value = parseInt(year, 10) + 1;
		}
		//-->
	</script>
</BODY>
</HTML>